package com.ddwl.schema.vo.gate;

import com.ddwl.schema.vo.base.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2019/6/24 15:43
 */
@ApiModel(description = "常用字典Vo")
@Setter
@Getter
@NoArgsConstructor
public class DictionaryVo extends BaseVo {

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("商户ID")
    private String mchId;

    @ApiModelProperty("标签")
    private String fieldTag;

    @ApiModelProperty("名称")
    private String fieldName;

    @ApiModelProperty("中文名称")
    private String fieldNameZh;

    @ApiModelProperty("值")
    private String fieldVal;

    @ApiModelProperty("图标")
    private String fieldIcon;

    @ApiModelProperty("子属性")
    private List<DictionaryVo> children;

    @ApiModelProperty("上级Id")
    private String pid;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("状态 1启用 0停用")
    private Integer status;
}
